package com.wkhyapp.lm.adapter;

import android.content.Context;

import com.wkhyapp.lm.R;
import com.wkhyapp.lm.adapter.base.HolderEntity;
import com.wkhyapp.lm.adapter.base.MirAdapter;
import com.wkhyapp.lm.http.vo.Category;

import java.util.List;

/**
 * Created by fang on 2021/10/12.
 */

public class CategoryAdapter extends MirAdapter<Category> {

    public CategoryAdapter(Context context, List<Category> mDatas, int itemLayoutId) {
        super(context, mDatas, itemLayoutId);
    }


    @Override
    public void convert(HolderEntity helper, Category item) {
            helper.setText(R.id.name_tv,item.getName());
    }

}
